<!DOCTYPE html>
<html>
<head>
    <title>登录</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <!-- Bootstrap -->
    <link th:href="@{/bootstrap/css/bootstrap.min.css}" rel="stylesheet" media="screen">
    <link th:href="@{/bootstrap/css/bootstrap-responsive.min.css}" rel="stylesheet" media="screen">
    <link th:href="@{/assets/styles.css}" rel="stylesheet" media="screen">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
<!--    <script src="js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>-->
</head>
<body id="login">
<div class="container">

    <form class="form-signin" th:action="@{/login}" method="post">
        <h2 class="form-signin-heading">登录</h2>
        <span th:if = "${msg != null}"> [[ ${msg} ]] </span>
        <input required type="text" class="input-block-level" placeholder="用户名字" name="username">
        <input required type="password" class="input-block-level" placeholder="密码" name="password">
        <label class="checkbox">
            <input type="checkbox" value="remember-me" name="remember"> 记住密码
        </label>
        <button class="btn btn-large btn-primary" type="submit">登录</button>
        <a th:href="@{/register.html}">点击注册</a>
        <a th:href="@{/forget.html}">忘记密码</a>

    </form>

</div> <!-- /container -->
<script th:src="@{/vendors/jquery-1.9.1.min.js}"></script>
<script th:src="@{/bootstrap/js/bootstrap.min.js}"></script>
</body>
</html>